The family of a teenage girl critically injured in a school shooting in Canada has filed a civil lawsuit against artificial intelligence company OpenAI, alleging that its chatbot ChatGPT had prior indications that the attacker was planning a mass shooting.